package com.cloud.flowable.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema(name = "流程模型视图VO", description = "流程管理")
public class WfModelVo {

    @Schema(description = "模型ID")
    @Excel(name = "模型ID")
    private String modelId;

    @Schema(description = "模型名称")
    @Excel(name = "模型名称")
    private String modelName;

    @Schema(description = "模型Key")
    private String modelKey;

    @Schema(description = "分类编码")
    @Excel(name = "分类编码")
    private String category;

    @Schema(description = "版本")
    @Excel(name = "版本")
    private Integer version;

    @Schema(description = "表单类型")
    private Integer formType;

    @Schema(description = "表单ID")
    private Long formId;

    @Schema(description = "模型描述")
    @Excel(name = "模型描述")
    private String description;

    @Schema(description = "流程xml")
    private String bpmnXml;

    @Schema(description = "表单内容")
    private String content;

    @Schema(description = "分类名称")
    @Excel(name = "分类名称")
    private String categoryName;

    @Schema(description = "创建时间")
    @Excel(name = "创建时间", exportFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
